<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>

<html>
<head>
	<title>工作台</title>
</head>

<body>
	<div class="content">
		<div class="page-subcate-list">
			<div class="page-searchbox">
				<input type="text" placeholder="输入查询条件">
				<div class="pull-right">
					<!--
					<button>批量导入</button>
					-->
					<a href="${ctx}/groupRecruit/add/${group.groupCode}"><button><i class="fa fa-plus" aria-hidden="true"></i>新建</button></a>
				</div>
			</div>
			<div class="page-subcate-item">
				<label>服务领域</label>
				<ul class="choices">
					<c:forEach items="${userServiceFiled}" var="skill">
						<li><a href="${skill.name}">${skill.name}</a></li>
					</c:forEach>
				</ul>
				<span class="more">
					<a href="#">更多 <i class="fa fa-angle-down" aria-hidden="true"></i></a>
				</span>
			</div>
			<div class="page-subcate-item">
				<label>专业技能</label>
				<ul>
					<c:forEach items="${userSkill}" var="skill">
						<li><a href="${skill.name}">${skill.name}</a></li>
					</c:forEach>
				</ul>
				<span class="more">
					<a href="#">更多 <i class="fa fa-angle-down" aria-hidden="true"></i></a>
				</span>
			</div>
			<div class="page-subcate-item">
				<label>职业</label>
				<ul class="choices">
					<c:forEach items="${userJob}" var="skill">
						<li><a href="${skill.name}">${skill.name}</a></li>
					</c:forEach>
				</ul>
				<span class="more">
					<a href="#">更多 <i class="fa fa-angle-down" aria-hidden="true"></i></a>
				</span>
			</div>
		</div>

		<div class="page-volunteer-recruitment-grid">
			<ul>
				<c:forEach items="${groupRecruits}" var="item">
				<li>
					<div class="volunteer-recruitment-card">
						<div class="cover"><a href="#"><img src="${item.img}"></a></div>
						<div class="card-body">
							<div class="card-title">${item.group.name}志愿者招募</div>
							<div class="card-users"><a href="#"><i class="fa fa-users" aria-hidden="true"></i> 5/20</a></div>
						</div>
						<div class="card-footer">
							<div class="card-questions"><a href="#"><i class="fa fa-file-text" aria-hidden="true"></i></a></div>
							<div class="card-share"><a href="#"><i class="fa fa-share-alt" aria-hidden="true"></i></a></div>
							<div class="pull-right">
								<div class="card-edit"><a href="#"><i class="fa fa-pencil" aria-hidden="true"></i></a></div>
								<div class="card-delete"><a href="#"><i class="fa fa-trash" aria-hidden="true"></i></a></div>
							</div>
						</div>
					</div>
				</li>
				</c:forEach>
			</ul>
		</div>
	</div>
</body>
</html>
